POV-Ray : Newsgroups : povray.general : A new SDL Idea : Re: A new SDL Idea Server Time
31 Jul 2024 22:20:35 EDT (-0400)
  Re: A new SDL Idea  
From: Nicolas George
Date: 6 Oct 2007 04:17:15
Message: <4707448b$1@news.povray.org>
Warp  wrote in message <47054da9@news.povray.org>:
>   Changing radically the scripting language is not going to be well received.

I think you miss a point: if POV-Ray's rendering features are available as
library functions call from some languages or, even better, from several
languages, you can then write in that language whatever parser you want.

Let us say, for the sake of the argument, that these features are accessible
as a Caml module. Then you can write a parser for the SDL, the very current
SDL, in Caml. Maintaining a separate parser like that would be easier than
maintaining a parser built in the core system, provided the language is good
for parsers (and Caml is good for parsers).

Now, a basic user of POV-Ray can write his scene in plain old SDL, the
front-end will automatically call the Caml parser, and the user does not see
any change.

On the other hand, an user that want to do complex programmatic features in
his scene can write them in Caml, and plug the result in his scene.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.